package com.vshop.entity.callback.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 请求格式：{"payId":"","deviceCode":"","orderId":"","type":"","tradeTime":"时间戳"}
 * 回调请求：
 *
 * @author lm
 * @date 2020/2/12
 */
@Data
public class RequestResultCallback implements Serializable {

    @ApiModelProperty(value = "响应码", example = "", dataType = "String")
    private String code;

    @ApiModelProperty(value = "响应描述", example = "", dataType = "String")
    private String message;

    @ApiModelProperty(value = "支付流水号", example = "", dataType = "String")
    private String payId;

    @ApiModelProperty(value = "设备识别码：是iccId或者是iMei号.不允许为空", example = "89860012018111220455", dataType = "String")
    private String deviceCode;

    @ApiModelProperty(value = "处理的业务类型：0-新订；1-续订", example = "", dataType = "String")
    private String type;

    @ApiModelProperty(value = "时间戳：yyyy-mm-dd HH:mm:ss", example = "", dataType = "String")
    private String tradeTime;

    @ApiModelProperty(value = "订单系统的订单", example = "", dataType = "String")
    private String orderId;

    @ApiModelProperty(value = "订单状态", example = "", dataType = "String")
    private String orderStatus;

    @ApiModelProperty(value = "订单订购时间", example = "", dataType = "String")
    private String orderDate;

    @ApiModelProperty(value = "订单激活时间", example = "", dataType = "String")
    private String activeDate;

    @ApiModelProperty(value = "订单预计结束时间", example = "", dataType = "String")
    private String expireDate;
}
